﻿// ------------------------------------------------------------------------------------------------
//  <copyright file="Document.cs" company="Iveely">
//    Copyright (c) Iveely Liu.  All rights reserved.
//  </copyright>
//  
//  <Create Time>
//    03/02/2013 21:59 
//  </Create Time>
//  
//  <contact owner>
//    liufanping@iveely.com 
//  </contact owner>
//  -----------------------------------------------------------------------------------------------

namespace IveelySE.Index
{
    /// <summary>
    ///   文档信息
    /// </summary>
    public class Document
    {
        #region 属性或字段

        /// <summary>
        ///   文档内容
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        ///   文档Id
        /// </summary>
        public int Id { get; set; }

        #endregion

        #region 公有方法

        public Document(int id, string text)
        {
            this.Id = id;
            this.Text = text;
        }

        #endregion
    }
}